/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_banner.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.xs_banner.entity.XsBanner;
import com.jeeplus.modules.xs_banner.mapper.XsBannerMapper;

/**
 * 轮播图信息Service
 * @author 天竹子
 * @version 2021-07-15
 */
@Service
@Transactional(readOnly = true)
public class XsBannerService extends CrudService<XsBannerMapper, XsBanner> {

	public XsBanner get(String id) {
		return super.get(id);
	}
	
	public List<XsBanner> findList(XsBanner xsBanner) {
		return super.findList(xsBanner);
	}
	
	public Page<XsBanner> findPage(Page<XsBanner> page, XsBanner xsBanner) {
		return super.findPage(page, xsBanner);
	}
	
	@Transactional(readOnly = false)
	public void save(XsBanner xsBanner) {
		super.save(xsBanner);
	}
	
	@Transactional(readOnly = false)
	public void delete(XsBanner xsBanner) {
		super.delete(xsBanner);
	}
	
}